Index

(in) primitive  288
(join) primitive  288
(length) primitive  288, 
* primitive  300, 
** primitive  300, 
+ primitive  301,
++ primitive  301, 
+1 primitive  301, 
- primitive 302,
-- primitive  302, 
-1 primitive  302, 
/Idle  171
/Key  171, 173
/Update  171
< primitive  295
<= primitive  295
= primitive 295,
> primitive   296
>= primitive  296
≠ primitive  298
≤ primitive 299
≥ primitive 299
÷ primitive 312,
÷÷ primitive 312,

A                               *A*

ABlock 378
ABlock@ 379
ABlock@@ 379
About… 171, 172
abs primitive 303
absolute address 372, 379
accept primitive 284,
acos primitive 303
activate 171, 351
activating the current application 168
active menu 350
active window  350
AddPt 406
address-to-object primitive 313
aevent methods171, 347
Alert 415
Alerts and Dialogs, Mac Methods 414
allocating structures 378
ancestors primitive 339
and primitive 297
AngleFromSlope 420
annuity primitive 303
answer 287
answer primitive 284
answer-v 287
answer-v primitive 285
Apple Event  171, 346, 347
  Reply 346, 347
Apple menu  171
  Switch Context 168
Apple SANE library 300
Application  170
  active? 168, 169
  current 168
  running 168
Application Builder 364
Application class
  subclassing 181
Application Manager 169-170
Application system class
  about method 179
  active? 179
  aevent methods 180
  current 178
  front 178
  menu bar 179
  menu lib 180
  menus 180
  name 178
  owner 178
  resources 179
  window lib 181
  windows 180
Application/Menu Click 171
Arcs and Wedges, Mac Methods 400
arithmetic
arithmetic primitives
   integer vs. real 300
array 373
array element 377
arrays 377
arrow 383
Arrow key 175, 353
asin primitive 304
ask 287
ask primitive 285
assembly-language 376
atan primitive 304
atan2 primitive 304
ATP-Close primitive 251
ATP-Get-Request primitive 252
ATP-Get-Response primitive 252
ATP-Open primitive 252
ATP-Send-Request primitive 253
ATP-Send-Response primitive 253
attach-l primitive 289
attach-r primitive 289
attr-com primitive 339
attribute 342
attributes primitive 340
auto-text primitive 356

B                                      *B*

BackColor 392
Balloon Help 173, 354
begin-drawing primitive 366, 367
Bit Transfer, Mac Methods 401
bit-and primitive 260, 
bit-not primitive 260,
bit-or primitive 260, 
bit-shift-l primitive 261,
bit-shift-r primitive 261, 
bit-xor primitive 261, 
BitMap 381
BitMapToRegion 381
block-address primitive 313, 379
block-size primitive 314
boolean
  input values 248
  operations 295
  primitive 248
  result 248
boolean primitive 359
break-serial-port primitive 324
buffer 313, 379
  data manipulation 313
  handle 313
  pointer 313
button 421
Button system class
  active? 182
  balloon 183
  click method 184
  Control Record 184
 grow? 183
  location 183
  move? 183
  name 182
  owner 182
  size 183
  visible? 182
Byte Stream 245, 263
Byte Stream primitives
  clear-bytes-map 263
  from-bytes 264
  to-bytes 264
byte-length primitive 331

C                                     *C*

C language 378, 380
CalcCMask 381
CalcPixCMask 381
call
  by reference 372
  by value 372
called-from-get 248
called-from-get primitive 340
called-from-meth primitive 340
called-from-method 248
called-from-set 248
called-from-set primitive 341
calls-to-get 248
calls-to-get primitive 341
calls-to-meth 248
calls-to-meth primitive 342
calls-to-set 248
calls-to-set primitive 342
Cancel button 273
Canvas 175, 348, 364
  click method 367
  draw method 365
  window item 276
Canvas system class
  active? 185
  balloon 186, 187, 198, 229, 236
  click method 189
  draw method 189
  grow? 186
  hControl 187
  hScroll? 187
  limits 188
  location 186
  move? 186
  name 185
  origin 188
  owner 185
  size 186
  vControl 187
  visible? 185
  vScroll? 187
caret 175
CautionAlert 416
CGrafPort@ 380
CharWidth 391
Check Box system class
  active? 190
  balloon 191
  checked? 192
  click method 192
  control record 192
  grow? 191
  location 191
  move? 191
  name 190
  owner 190
  size 191
  visible? 190
children primitive 342
choose primitive 265
class translation map 263, 264
class(es)  339, 
class-com primitive 343
classes primitive 343
Clear 172
clear-bytes-map 245, 246
clear-bytes-map primitive 263
clear-text primitive 356
click 349, 
click event 367
Click Item system class
  active? 193
  balloon 194
  click method 195
  grow? 194
  location 194
  move? 194
  name 193
  owner 193
  size 194
  visible? 193
click method 349
clip region 348, 349, 367
clipboard  264, 364
Close  173, 174
close box 173
close primitive 269
close-serial-port primitive 324
CloseDialog 414
ClosePicture 402
ClosePoly 404
CloseResFile 409
closing resource files, Mac Methods 408
cluster 263
cluster-delete 246, 
cluster-lock 246
cluster-read 246,
cluster-replace 246, 
cluster-undelete 246,
cluster-unlock 246,
cluster-write 246, 
clustering 263
code resources 380
Color, Mac Methods
   Drawing 391
ColorBit 392
Command key  354
communications 263
compact-memory primitive 314
compiled methods 245
compiled? primitive 283,
compound primitive 305
compound types 374
configure-sport primitive 325
copy 172
copy primitive 265, 
copy-text primitive 356
CopyBits 381, 401
CopyDeepMask 381
CopyDeepPixMask 381
CopyPixBits 381
CopyPixels 381
CopyPixMask 381
cos primitive 305
count-sport-input primitive 325
Count1Resources 410
CountResources 410
create primitive 269
CreateResFile 408
creator types 378
current application 168
   Application subclass 181
current file pointer 275
CurResFile 409
cursor
  position 259
Cursor, Mac Methods 381
Cut menu item (compiler) 452
cut-text primitive 357
CWindowRecord@ 380

D                                      *D*

data cluster 263
data fork 364
data manipulation
   memory buffers 313
data objects 4
Database 245
Database Engine 263
db-backup 246
db-close 246,
db-compact 246, 
db-delete 246, 
db-flush 246, 
db-get-flush
db-info 246, 
db-list 246, 
db-new 246
db-open 246,
db-rename 246
db-set-flush 
db-shutdown 246, 
db-wait 246,
debug primitive 283, 462
deep copy 265
delete primitive 270
DeltaPoint 408
dereference 379
descendants primitive 343
desktop event 171
detach-l primitive 289
detach-nth primitive 290
detach-r primitive 290
dialog 287
DialogRecord@ 380
Dialogs and Alerts, Mac Methods 414
disk 264
display primitive 286, 
DisposCCursor 384
DisposDialog 414
DisposHandle 378
DisposPtr 378
div primitive 305,
double-click time 258
drag-rect primitive 169, 276, 368
draw-style-text primitive 256
DrawChar 390
Drawing in Color, Mac Methods 391
Drawing, Mac Methods
Pen and Line 384
DrawPicture 403
DrawString 390
DrawText 390

E                                     *E*

Edit Application menu item 168
edit menu methods 172
Edit Text , 175, 352, 353
Edit Text system class
  active? 196
  balloon 198
  edit record 200
  font 198
  font size 199
  font style 198
  grow? 197
  justification 199
  location 197
  move? 197
  name 196
  owner 196
  selection 200
  size 197
  style record 200
  text 199
  visible? 196
  wrap? 200
EmptyRect 396
end-drawing primitive 366, 367
Enter key 352
Environment 246, 
EqualPt 407
EqualRect 396
EraseArc 400
EraseOval 398
ErasePoly 405
EraseRect 366, 367, 397
EraseRoundRect 399
error numbers 269
Event 170, 171
  activate 171
  Apple Event 171
  key 171
  key event 173
  mouse down 171, 173, 174
  suspend/resume 171
  update 171
Event Manager  346
EventRecord 353, 366
Exclude Unused Methods check box (compiler) 456
Exec menu , 168
Edit Application 168
   Run  168
exp primitive 306
extract-text primitive 357

F                                        *F*

field name conflicts 376
file pointer 273
file types 378
file-size primitive 270
FillArc 401
FillOval 398
FillPoly 406
FillRect 397
FillRoundRect 399
filter functions 380
find-bounds primitive 276
find-instance primitive 281
find-item , 351
find-item primitive 256
find-menu primitive 257
find-menu-a primitive 257
find-window primitive 258
find-window-a primitive 258
font 287
ForeColor 392
format primitive 331
FrameArc 400
FrameOval 398
FramePoly 405
FrameRect 367, 397
FrameRoundRect 399
from-ascii primitive 334
from-bytes 245
from-bytes primitive 264
from-handle primitive 314, 380
from-pointer primitive 314
from-string primitive 334
Front Window 172
function 370, 371
function pointer 380

G                                   *G*

Gestalt Manager 421
gestalt primitive 267
gestalt-attribute primitive 268
Get  313, 315,
get method 340
get-file primitive 270
get-integer primitive 315
get-nth primitive 291
get-point primitive 315
get-position primitive 271
get-real primitive 315
get-rect primitive 316
get-sport-buffer primitive 326
get-sport-refs primitive 326
get-string primitive 316, 380
get-text primitive 316
Get1IndResource 411
Get1NamedResource 412
Get1Resource 411
GetCPixel 393
GetCursor 383
GetCVariant 463
GetDItem 417
GetForeColor 393
GetIcon 418
GetIndPattern 419
GetIndResource 411
GetIText 417
GetMethods 341, 342
GetMouse 420
GetNamedResource 412
GetNewDialog 414
GetPattern 419
GetPen 385
GetPenState 385
GetPicture 404
GetResInfo 413
GetResource 411
GetVol 373
GlobalToLocal 407
GrafPort 349
GrafPort@ 380
Graphic 144
Graphic system class
  active? 201
  balloon 202
  click method 203
  grow? 202
  location 202
  move? 202
  name 201
  owner 201
  rsrc number 203
  rsrc record 203
  size 202
  visible? 201
Graphic Utilities, Mac Methods 418
graphics operations 276
grow box 173
grow-rect primitive 277

H                                    *H*

halt primitive 283
handle  263, 264, 378, 379, 
handle dereference 372
HideCursor 382
HidePen 384
HomeResFile 410

I                                       *I*

I-beam cursor 352
IAC  263, 264
icon 364
attribute
inherited 429
user-defined 429
inherited System class attribute 176, 177
inherited System instance attribute 176
initialization 431
Mac Method 363
Macintosh Toolbox  437
System class 176, 177, 426
System class attribute 176, 177, 428
System class instance attribute 177
System instance attribute 176, 177
Icon system class
active? 204
balloon 205
click method 206
grow? 205
location 205
move? 205
name 204
owner 204
rsrc number 206
rsrc record 206
size 205
visible? 204
icons 425-445
idiv primitive 306, 
idle functions 352
"in" primitive 330
indexing 377
inherited System class attribute icon 177
inherited System instance attribute icon 177
InitCursor 381
insert-nth primitive 291
insert-text primitive 357
insertion point 352
Inside Macintosh , 269, 372, 373, 
inst-to-list primitive 281
instance? primitive 359
instances
           system classes,copying 265
integer-to-string primitive 335
integer? primitive 360, 
interface development overview 167-170
ints-to-point primitive 277
ints-to-rect primitive 278
ints-to-rgb primitive 278
InvalRect 349, 367, 419
InvalRgn 349, 367, 420
InvertArc 400
InvertOval 398
InvertPoly 405
InvertRect 397
InvertRoundRect 399
inZoomIn 355
inZoomOut 355
is-double? primitive 258
is-drag? primitive 259

J                                  *J*

"join" primitive 330

K                                  *K*

Key 171, 173, 175
key event , 173
key-close 246,
key-delete 246, 
key-find 246, 
key-first 246, 
key-info 246, 
key-last 246, 
key-list 246, 
key-new 246,
key-next 246, 
key-open 246, 
key-previous 246, 
key-read 246,
key-rename 246, 
key-value 246, 
keyDown 161
KeyEvent 352
KeyRepeat 353
kill-serial-port primitive 326
KillPicture 403
KillPoly 404

L                                        *L*

"length" primitive 331
level of indirection 380
LineTo 388
list-to-list primitive 282
list? primitive 360, 
ln primitive 306
load 263
load primitive 271, 
LocalTalk 263
LocalToGlobal 407
lock-block primitive 317, 379
lock-string primitive 317
log10 primitive 307

M                                       *M*

Mac Get Field 18, 87, 96, 374, 379, 380,
Mac Methods  169, 363, 379, 
  essential 381
  icon 363
Mac Set Field  374, 376, 379, 380, 
mac-type primitive 360
Macintosh Classic 353
Macintosh Resource Types 269
Macintosh structures 263, 
Macintosh Toolbox  276, 363
essential Mac Methods 381
Macintosh types
Point 276
Rect 276
make-direct primitive 317
make-handle primitive 317
make-list primitive 292
make-pointer primitive 318
max primitive 307
Memory 314
memory allocation 379
Menu  172
            update 172
menu bar event 171
Menu Click 171
Menu Item 350, 352
  About… 171
  Menu Item ID 354
  Menu Item system class
    active? 210
   check? 211
   key 210
   method 211
   name 210
   owner 210
   style 211
menu key 171
Menu system class
  active? 207
  balloon 209, 211
  enabled? 208
  item list 208
  keys 208
  menu record 208
  name 207
  owner 207
MenuID 354
menus 256
meth-com primitive 343
meth-com-g primitive 344
meth-com-s primitive 344
method names 340
Methods 341, 342
methods primitive 344
middle primitive 335
min primitive 307
Miscellaneous Utilities, Mac Methods 419
ModalDialog 415
mouse clicks 256
Mouse Down 171, 173, 174, 175
Move 387
MoveTo 387
munge-string primitive 335

N                                         *N*

names 170
  lower-case 170
naming conventions
NBP-Close primitive 254, 327, 
NBP-Confirm primitive 254
NBP-Lookup primitive 254
NBP-Open primitive 255
NBP-Register primitive 255
new-block primitive 318, 379
NewHandle 378
NewPtr 378
not primitive 297
NOTE
Naming convention 170
System Class methods 170
NoteAlert 416
Notify  171
null event 171
number? primitive 361

O                                        *O*

object-to-address primitive 319
ObscureCursor 382
OffsetPoly 405
OffsetRect 394
Open 173
Open button 270
open primitive 272
open-serial-port primitive 327
opening resource files, Mac Methods 408
OpenPicture 402
OpenPoly 404
OpenResFile 408
or primitive 297
origin 348
Ovals, Mac Methods 398

P                                     *P*

pack primitive 292, 
PaintArc 400
PaintOval 398
PaintPoly 405
PaintRect 397
PaintRoundRect 399
parameter block 378
parameter passing 370
parameters
  value 371
  VAR 371, 373
ParamText 416
Pascal370, 376, 377, 378
array definitions 377
paste-text primitive 357
Pen and Line Drawing, Mac Methods 384
PenMode 386
PenNormal 367, 387
PenPat 387
PenSize 367, 386
pers-com primitive 345
pi primitive 308
PicComment 403
PICT  364
Pict system class
  active? 212
  balloon 213
  click method 214
  grow? 213
  location 213
  move? 213
  name 212
  owner 212
  rsrc number 214
  rsrc record 214
  size 213
  visible? 212
Pictures, Mac Methods 402
PixMap 381
PixMapToRegion 381
PlotIcon 419
point-to-ints primitive 278
pointer 373, 374, 378
pointer dereference 372
pointer to a function 380
Points, Mac Methods 406
points-to-rect primitive 279
Polygons, Mac Methods 404
Pop-up Menu 215
Pop-up Menu system class
  active? 215
  balloon 216
  click method 217
  control record 217
  fixed? 217
  grow? 216
  location 216
  move? 216
  name 215
  owner 215
  size 216
  style 218
  title? 218
  value 218
  value list 218
  visible? 215
popup-menu primitive 259
port 348, 349
power primitive 308
prefix primitive 335
primitive(s), 245, 
(in) 288
(join) 288
(length) 288,
* 300, 1
** 300, 
+ 301, 
++ 301, 
+1 301, 
- 302, 
-- 302
-1 302, 
< 295
<= 295
= 295, 
> 296
>= 296
abs 303
accept 284, 
acos 303
address-to-object 313
ancestors 339
and 297
annuity 303
answer 284
answer-v 285
asin 304
ask 285
atan 304
atan2 304
ATP-Close 251
ATP-Get-Request 252
ATP-Get-Response 252
ATP-Open 252
ATP-Send-Request 253
ATP-Send-Response 253
attach-l 289
attach-r 289
attr-com 339
attributes 340
auto-text 356
begin-drawing 366, 367
bit-and 260, 
bit-not 260,
bit-or 260, 
bit-shift-l 261, 
bit-shift-r 261, 
bit-xor 261, 4
block-address 313, 379
block-size 314
boolean 359
break-serial-port 324
byte-length 331
called-from-get 340
called-from-meth 340
called-from-set 341
calls-to-get 341
calls-to-meth 342
calls-to-set 342
categories
AppleTalk 250
Application 245, 256-259
Bit 245, 260-261
Byte Stream 245, 263
Data 245, 265
Database 245
Environment 246
File 246, 269
Graphics 246, 276-280
I/O 246, 284-287
Instances 246, 247, 281-282
Interpreter control 246, 283
Lists 246, 288-294
Logical/Relational 247, 295-296, 299
Math 247, 300-306, 312
Memory 247, 313-322
Serial Port 323
Strings 248, 330-338
System 248, 339-345, 346
System Class 248
Text 248, 356-358
Type 248, 359-362
categoriesAppleTalk 245
children 342
choose 265
class-com 343
classes 343
clear-bytes-map 263
clear-text 356
close 269
close-serial-port 324
compact-memory 314
compiled? 283, 
compound 305
configure-sport 325
copy 265, 461
copy-text 356
cos 305
count-sport-input 325
create 269
cut-text 357
debug 283, 
delete 270
descendants 343
detach-l 289
detach-nth 290
detach-r 290
display 286, 462
div 305, 
drag-rect 169, 276, 368
draw-style-text 256
end-drawing 366, 367
exp 306
extract-text 357
file-size 270
find-bounds 276
find-instance 281
find-item 256
find-menu 257
find-menu-a 257
find-sorted 290
find-window 258
find-window-a 258
format 331
from-ascii 334
from-bytes 264
from-handle 314, 380
from-pointer 314
from-string 334
gestalt 267
gestalt-attribute 268
get-file 270
get-integer 315
get-nth 291,
get-point 315
get-position 271
get-real 315
get-rect 316
get-sport-buffer 326
get-sport-refs 326
get-string 316, 380
get-text 316
grow-rect 277
halt 283
idiv 306, 461
"in" 330
insert-nth 291
insert-text 357
inst-to-list 281
instance? 359
integer-to-string 335
integer? 360, 
ints-to-point 277
ints-to-rect 278
ints-to-rgb 278
is-double? 258
is-drag? 259
"join" 330
kill-serial-port 326
"length" 331
list-to-inst 282
list? 360,
ln 306
load 271
lock-block 317, 379
lock-string 317
log10 307
mac-type 360
make-direct 317
make-handle 317
make-list 292
make-pointer 318
max 307
meth-com 343
meth-com-g 344
meth-com-s 344
methods 344
middle 335
min 307
munge-string 335
NBP-Close 254, 
NBP-Confirm 254
NBP-Lookup 254
NBP-Open 255
NBP-Register 255
new-block 318, 379
not 297
number? 361
object-to-address 319
open 272
open-serial-port 327
or 297
pack 292, 461
paste-text 357
pers-com 345
persistents 345
pi 308
point-to-ints 278
points-to-rect 279
popup-menu 259
power 308
prefix 335
print-text 358
print-window 286
prograph-file 272, 
put-file 272
put-integer 319, 380
put-point 319
put-real 320
put-rect 320
put-string 320
put-text 321
rand 308
read 273, 379
read-line 273
real? 361
receive-serial-port 327
rect-to-ints 279
rect-to-points 280
rename 274
reverse 292
rgb-to-ints 280
round 308
round-down 309
round-up 309
save 274, 
sc-activate-wind 346
sc-aevent-begin 346
sc-aevent-dispatch 347
sc-aevent-end 347
sc-background? 348
sc-begin-drawing 348, 369
sc-begin-update 348
sc-click-witem 349
sc-delete-item 350
sc-draw-witem 350
sc-end-drawing 350, 369
sc-end-update 350
sc-find-witem 351
  sc-get-wind 351
  sc-hilite-witem 351
  sc-idle-edit 352
  sc-insert-item 352
  sc-key-button 352
  sc-key-edit 353
  sc-key-list 353
  sc-key-menu 354
 sc-show-ballon 354
  sc-tab-witem 354
  sc-zoom-wind 355
  select 286
  send-serial-port 327
  send-sport-done 328
  set-dialog-font 287
  set-nth 293, 
  set-nth! 293, 
  set-position 275
  set-seed 310
  set-sport-buffer 328
  settable 345, 
  shallow-copy 266
  show 287
  sign 310
  sign-extend 310
  sin 311
  sort 293
  split-nth 294
  sport-configuration 329
  sqrt 311
  string-address 321
  string-length 336
  string-to-integer 336
  string? 361, 461
   suffix 337
  switch 265
  tan 311
  test-all? 262
  test-bit? 262
  test-one? 262
  to-ascii 337
  to-bytes 264
  to-handle 321
  to-pointer 322, 380
  to-string 337
  tokenize 338
  trace 283, 462
  trap? 268
  trunc 311
  type 362
  unlock-block 322
  unlock-string 322
  unpack 294,
  wait-double? 259
  write 275
  write-line 275
  xor 298
  ≠ 298
  ≤ 299
  ≥ 299
  ÷ 312, 
  ÷÷ 312, 
  System Class 345
Primitives List
  Byte Stream 245
  Database 245
  Environment 246
  System Class 248
print-text primitive 358
print-window primitive 286
procedure 370, 371
Prograph 263
  using Macintosh Toolbox 363
prograph-file primitive 272, 
Pt2Rect 395
PtInRect 169, 368, 395
Ptr 378, 379
PtToAngle 396
put-file primitive 272
put-integer primitive 319, 380
put-point primitive 319
put-real primitive 320
put-rect primitive 320
put-string primitive 320
put-text primitive 321

Q                                    *Q*

QuickDraw 364

R                                   *R*

Radio Set system class
  active? 219
  balloon 220
  click method 221
  control list 221
  grow? 220
  location 220
  move? 220
  name 219
  owner 219
  size 220
  value 221
  value list 221
  visible? 219
RAM  314
rand primitive 308
read primitive 273, 379
read-line primitive 273
real? primitive 361
receive-serial-port primitive 327
rect-to-ints primitive 279
rect-to-points primitive 280
Rectangles, Mac Methods 394
  round 399
references
  direct, indirect, doubly indirect 313
rename primitive 274
Reply 346, 347
ResEdit 364
ResError 409
resource fork , 364
resource management 263
resource types 378
Resources , 264, 364
Resources, Mac Methods 408
  key 352
reverse primitive 292
  RGB Colors 392
  rgb-to-ints primitive 280
  RGBBackColor 393
  RGBForeColor 392
round primitive 308
Round Rectangles, Mac Methods 399
round-down primitive 309
round-up primitive 309
rsrc number 364
Run menu item  168
running current application 168

S                                    *S*

save 263
Save button 273
Save menu item (compiler) 451
save primitive 274, 
sc-activate-wind 248
sc-activate-wind primitive 346
sc-aevent-begin , 248
sc-aevent-begin primitive 346
sc-aevent-dispatch , 248
sc-aevent-dispatch primitive 347
sc-aevent-end , 248
sc-aevent-end primitive 347
sc-background? 248
sc-background? primitive 348
sc-begin-drawing 248, 369
sc-begin-drawing primitive 348, 369
sc-begin-update 248
sc-begin-update primitive 348
sc-click-witem 248
sc-click-witem primitive 349
sc-delete-item 248
sc-delete-item primitive 350
sc-draw-witem 248
sc-draw-witem primitive 350
sc-end-drawing 248, 369
sc-end-drawing primitive 350, 369
sc-end-update 248
sc-end-update primitive 350
sc-find-witem 248
sc-find-witem primitive 351
sc-get-wind , 248
sc-get-wind primitive 351
sc-hilite-witem 248
sc-hilite-witem primitive 351
sc-idle-edit 248
sc-idle-edit primitive 352
sc-insert-item 248
sc-insert-item primitive 352
sc-key-button 248
sc-key-button primitive 352
sc-key-edit primitive 353
sc-key-list 353
sc-key-menu 248
sc-key-menu primitive 354
sc-key-wind 248
sc-show-balloon 173, 248
sc-show-balloon primitive 354
sc-tab-witem 248
sc-tab-witem primitive 354
sc-zoom-wind 248
sc-zoom-wind primitive 355
SCLibrary file 449
scrapbook 264
ScreenRes 418
Scroll List , 175, 353
selection 175
Scroll List system class
  active? 222
  balloon 224
  click method 225
  grow? 223
  list record 224
  location 223
  move? 223
  name 222
  owner 222
  select list 224
  size 224
  value list 224
  visible? 223
Scroll Text , 352, 353
Scroll Text system class
  active? 227
  balloon 229
  edit record 231
  font 229
  font size 230
  font style 230
  grow? 228
  hscroll 232
  justification 230
  location 228
  move? 228
  name 227
  owner 227
  selection 232
  size 229
  style record 231
  text 231
  visible? 228
  vscroll 232
  wrap? 231
scrolling lists 346
ScrollRect 401
SectRect 395
SeedPixCFill 381
select , 287
select primitive 286
selected elements
appearance 28, 
SelIText 418
send-sport-done primitive 328
Set , 169, 
set-dialog-font primitive 287
set-nth primitive 293, 
set-nth! primitive 293,
set-position primitive 275
set-seed primitive 310
set-sport-buffer primitive 328
SetCCursor 382
SetCPixel 393
SetCursor 382
SetDItem 417
SetIText 417
SetMethods 341, 342
SetPenState 385
SetPort 370
SetPt 406
SetRect 394
settable primitive 345,
shallow-copy primitive 266
ShieldCursor 384
show 287
show primitive 287
ShowCursor 382
ShowPen 385
sign primitive 310
sign-extend primitive 310
simple Macintosh types 378
Simultaneous editing, executing 168
sin primitive 311
SizeResource 413
SlopeFromAngle 420
sort primitive 293
SpaceExtra 390
split-nth primitive 294
sport-configuration primitive 329
sqrt primitive 311
Str255 374
string as Str255 374
string-address primitive 321
string-length primitive 336
string-to-integer primitive 336
string? primitive 361, 
StringWidth 391
structure allocation 378
SubPt 406
suffix primitive 337
suspend/resume, 171
Switch Context menu item , 168
switch primitive 265
SysBeep 421
SysEnvirons 421
System 6 421
System 7 153,
System Class 248
  icon 426
System class attribute icon 177
System Class Attributes
System class icon 176, 177
System class instance attribute icon 177
System Class methods 170-175
  Bounds 174
  Clear 172
  Close 173, 174
  Copy 172
  Front Window 172
  Idle 172
  Key 173, 175
  Mouse Down 173, 174
  Notify , 171
  Open 173
  Tab To Item 175
  Update 172, 174, 175
sc-activate-wind 346
sc-aevent-begin 346
sc-aevent-dispatch 347
sc-aevent-end 347
sc-background? 348
sc-begin-drawing 348
sc-begin-update 348
sc-click-witem 349
sc-delete-item 350
sc-draw-witem 350
sc-end-drawing 350
sc-end-update 350
sc-find-witem 351
sc-get-wind 162, 351
sc-hilite-witem 351
sc-idle-edit 352
sc-insert-item 352
sc-key-button 352
sc-key-edit 353
sc-key-list 353
sc-key-menu 354
sc-show-balloon 354
sc-tab-witem 354
sc-zoom-wind 355
System class specifications 176, 244
System classes 168-244, 
  Apple Events 158
  copying instances 265
  Edit Text 175
  Menu 170
System system class
  active? 233
  name 233
  owner 233

T                              *T*

Tab key 354
Tab To Item 175
TabDirection 354
table-close 246, 
table-delete 246, 
table-export 246, 
table-import 246,
table-info 246, 
table-list 246, 
table-new 246, 
table-open 246, 
table-rename 246, 
tan primitive 311
TEActivate 346
TEDeactivate 346
test-all? primitive 262
test-bit? primitive 262
test-one? primitive 262
Text 287
text editors 346
Text system class
  active? 234
  balloon 235
  font 225, 236
  font size 225, 226, 236
  font style 225, 236
  grow? 235
  justification 237
  location 235
  move? 235
  name 234
  owner 234
  size 235
text 237
  visible? 234
Text, Mac Methods 388
TextFont 388
TextMode 389
TextSize 390
TextWidth 391
title bar 173
to-ascii primitive 337
to-bytes 245, 264
to-bytes primitive 264
to-handle primitive 321
to-pointer primitive 322, 380
to-string primitive 337
tokenize primitive 338
Toolbox  276, 363
  essential Mac Methods 381
Toolbox data types
  array 373
  Boolean 374
  Byte 374
  compound 374
  Handle 374
  Integer 374
  LongInt 374
  Ptr 374
  Real 374
  SignedByte 374
  simple 374
  Unsigned 374
trace primitive 283, 
trap? primitive 268
trunc primitive 311
type primitive 362

U                                *U*

UnionRect 395
Unique1ID 413
UniqueID 412
universal method 340, 342,
unlock-block primitive 322
unlock-string primitive 322
unpack primitive 294,
update , 171, 172, 174, 175, 351
update event    349, 365, 367
UseResFile 410
Utilities, Mac Methods
  Graphic 418
Miscellaneous 419

V                              *V*

value parameters 371, 373
VAR parameters 371, 373
variable-length array 377
visible region 349

W                             *W*

wait-double? primitive 259
Wedges and Arcs, Mac Methods 400
wind-draw-prep 370
window  172, 351
Window Item , 350, 351, 352, 354
Window Item system class
  active? 243
  balloon 244
  grow? 244
  location 244
  move? 244
  name 243
  owner 243
  size 244
  visible? 243
Window Item(s) 256
window record 351
Window system class
  activate method 241
  active? 238
  close method 241
  close? 239
  def ID 239
  idle method 241
  item list 242
  key method 242
  location 240
  modal? 239
  name 238
  owner 238
  selected item 240
  size 240
window record 239
Window/Mouse Down 171
WindowRecord 370
WindowRecord@ 351, 380
windows 256
  closing 173, 241
  opening 173, 241
write primitive 275
write-line primitive 275

X                    *X*

xor primitive 298
XPrims 380,

Z                    *Z*

zero based array indices 377
Zoom 355
zoom box 173
ZoomDirection 355